	// ref https://github.com/WICG/EventListenerOptions/pull/30
	function isPassive() {
	    var supportsPassiveOption = false;
	    try {
	        addEventListener("test", null, Object.defineProperty({}, 'passive', {
	            get: function () {
	                supportsPassiveOption = true;
	            }
	        }));
	    } catch(e) {}
	    return supportsPassiveOption;
	}
	var myScroll;
	var position;

	function updatePosition () {
		console.log(this.y>>0);
	}

	function loaded () {

		myScroll = new IScroll('#wrapper', { probeType: 3, mouseWheel: true });

		myScroll.on('scroll', updatePosition);

		myScroll.on('scrollEnd', updatePosition);
	}

	document.addEventListener('touchmove', function (e) { e.preventDefault(); }, isPassive() ? {
		capture: false,
		passive: false
	} : false);
